<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp" %>
<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8"/>
    <title>数据字典</title>
    <script>
        function request(d) {
            for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) {
                var b = c[a].split("=");
                if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1])
            }
            return ""
        };
    </script>
</head>
<body class="Firefox 50.0 lr-uitheme-accordion">
<%@include file="../../include/lr.jsp" %>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/style/lr-common.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/style/lr-iframe-form.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/plugin/wizard/wizard.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/plugin/tree/lr-tree.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/plugin/select/lr-select.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/plugin/formselect/lr-formselect.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/plugin/inputsearch/lr-isearch.css"/>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/LR_Content/plugin/uploader/lr-uploader.css"/>
<link rel="stylesheet" href="/jeeplus/webpage/modules/CodeDemo/ImportForm.css">
<style>.lr-form-layout-body {
    padding: 0 5px 5px 5px
}

.lr-form-file-queue-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 4px
}

.lr-form-file-queue {
    position: relative
}

.lr-form-file-queue {
    position: relative
}

.lr-form-file-queue-item {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #ddd;
    padding-left: 60px
}

.lr-file-image {
    position: absolute;
    top: 5px;
    left: 5px
}

.lr-file-image img {
    width: 40px;
    height: 40px
}

.lr-file-name {
    line-height: 50px
}

.lr-msg {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 25px;
    line-height: 50px
}

.lr-msg .fa-check-circle {
    color: #5cb85c
}

.lr-msg .fa-exclamation-circle {
    color: #b94a48
}

.lr-msg2 {
    position: absolute;
    top: 0;
    right: 5px;
    line-height: 50px
}

.lr-msg2 span {
    color: #333;
    font-size: 14px;
    margin-right: 5px
}

.lr-tool-bar {
    position: absolute;
    top: 0;
    right: 35px;
    font-size: 25px;
    line-height: 50px;
    color: #666;
    cursor: pointer
}

.lr-tool-bar > i {
    margin-left: 8px
}

.lr-tool-bar .fa-minus-circle {
    color: #b94a48
}

.lr-tool-bar .fa-cloud-download {
    color: #3498db
}

.lr-uploader-progress {
    position: absolute;
    bottom: 2px;
    left: 60px;
    height: 4px;
    width: 500px;
    width: calc(100% - 90px)
}

.lr-uploader-progress-bar {
    position: relative;
    height: 100%;
    background-color: #039cfd;
    border-radius: 4px
}

.lr-form-file-queue-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 30px;
    line-height: 30px;
    margin: -15px 0 0 -150px
}

.lr-form-file-queue-bg h1 {
    color: #666;
    font-size: 20px;
    font-family: Microsoft Yahei;
    padding-bottom: 2px;
    margin: 0
}

#lr_down_file_btn {
    position: absolute;
    right: 5px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333
}

#lr_down_file_btn:hover {
    color: #337ab7
}

.webuploader-container {
    position: absolute
}

.webuploader-pick {
    padding: 8px 15px;
    background-color: #039cfd
}

.webuploader-pick-hover {
    background-color: #027dcb
}</style>
<div class="lr-form-layout lr-form-layout-top-bottom">

    <a id="imp">快速导入</a>
</div>
<script src="${ctxStatic}/jquery.min.js"></script>
<script src="${ctxStatic}/Content/bootstrap/bootstrap.js" type="text/javascript"></script>
<script src="${ctxStatic}/LR_Content/script/lr-validator.js"></script>
<script src="${ctxStatic}/LR_Content/script/lr-form.js"></script>
<script src="${ctxStatic}/LR_Content/plugin/wizard/wizard.js"></script>
<script src="${ctxStatic}/LR_Content/plugin/tree/lr-tree.js"></script>
<script src="${ctxStatic}/LR_Content/plugin/select/lr-select.js"></script>
<script src="${ctxStatic}/LR_Content/plugin/formselect/lr-formselect.js"></script>
<script src="${ctxStatic}/LR_Content/plugin/inputsearch/lr-isearch.js"></script>
<script src="${ctxStatic}/LR_Content/plugin/uploader/lr-uploader.js"></script>
<script href="/jeeplus/webpage/modules/CodeDemo/ImportForm.js"></script>
<script>
    (function ($, learun,layer) {
        $(function () {
            $('#imp').click(function () {
                learun.layerForm({
                    id: "ExcelExportForm",
                    title: '导出Excel数据',
                    url: '/jeeplus/api/demo1',
                    width: 600,
                    height: 500,
                    callBack: function (id) {
                        top[id].acceptClick(function (data) {
                            layer.alert('请添加设置字段');

                        })
                        learun.layerClose("ExcelExportForm");

                    },
                    btn: ['导出Excel', '关闭']
                });
            })
            var test = function (data) {
                alert(data)
            }
        })
    })(jQuery, top.learun,top.layer)
</script>
</body>

</html>
